html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}
/*为啥多了一像素*/
#viewDiv
{
    border: 0px;
    height: calc(100% - 2px);
    width: calc(100% - 1px);
}
.typhon_layer {
    z-index: 6666;
    position: relative;
    width: 300px;
    height: auto;
    line-height: 31px;
    margin-top: 12px;
    background: #FFFFFF;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.50);
    border-radius: 5px;
    margin-top: 12px;
    margin-right: 2px;
    float: right;
    overflow-y: auto;
    overflow-x: hidden;
}